package com.rt.code.dto;

import com.rt.easyjava.common.enums.DeleteFlag;
import com.rt.easyjava.common.enums.Sex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;

import java.io.Serializable;

/**
 * Created by wxy on 2017/8/26.
 */
@ApiModel(description = "用户传输对象")
public class A2userDto implements Serializable {

    private static final long serialVersionUID = 1L;

    //----------------------------------------
    // model
    //----------------------------------------
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "登录名")
    private String loginname;
    @ApiModelProperty(value = "密码")
    @ApiParam(defaultValue = "123")
    private String password;
    private String appLoginname;
    private String appPassword;
    @ApiModelProperty(value = "姓名")
    private String name;
    private String jobNumber;
    private String email;
    private String idcardno;
    private String sex;
    private String telephone;
    private String phone;
    private String a2postName;
    private String rolenames;
    private String roleIds;
    private String owUserType;
    private String a2postId;
    private String tmptAuthDeptId;

    private String logintimelast;
    private String logintimes;

    @ApiModelProperty(hidden = true)
    private String createman;
    @ApiModelProperty(hidden = true)
    private String createdate;
    @ApiModelProperty(hidden = true)
    private String modifydate;
    @ApiModelProperty(hidden = true)
    private String deleteflag;
    @ApiModelProperty(hidden = true)
    private String modifyman;
    @ApiModelProperty(hidden = true)
    private String createmanId;
    @ApiModelProperty(hidden = true)
    private String modifymanId;
    @ApiModelProperty(hidden = true)
    private String clientID;
    @ApiModelProperty(hidden = true)
    private String companyId;

    //----------------------------------------
    // 与页面交互时的参数
    //----------------------------------------
    @ApiModelProperty(hidden = true)
    private String logintimelast_Start;
    @ApiModelProperty(hidden = true)
    private String logintimelast_End;
    @ApiModelProperty(hidden = true)
    private String createdate_Start;
    @ApiModelProperty(hidden = true)
    private String createdate_End;
    @ApiModelProperty(hidden = true)
    private String modifydate_Start;
    @ApiModelProperty(hidden = true)
    private String modifydate_End;

    //多选项Options，加_Str做数据显示
    @ApiModelProperty(hidden = true)
    private String owUserType_Str;
    @ApiModelProperty(hidden = true)
    private String sex_Str;
    @ApiModelProperty(hidden = true)
    private String deleteflag_Str;

    @ApiModelProperty(hidden = true)
    private String signStatus;

    //统计数据 多少条日常计划、多少条专项计划、多少条违规登记，多少条勤务登记，多少条社区工作记录。
    private String normalTaskPlanSum;
    private String specialTaskPlanSum;
    private String illegalRegisterSum;
    private String registerDataSum;
    private String commiteeRecordSum;
    private String createdatesum_Start;
    private String createdatesum_End;


    //=====================================================
    // setter getter method
    //=====================================================


    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public String getCreatedatesum_Start() {
        return createdatesum_Start;
    }

    public void setCreatedatesum_Start(String createdatesum_Start) {
        this.createdatesum_Start = createdatesum_Start;
    }

    public String getCreatedatesum_End() {
        return createdatesum_End;
    }

    public void setCreatedatesum_End(String createdatesum_End) {
        this.createdatesum_End = createdatesum_End;
    }

    public String getNormalTaskPlanSum() {
        return normalTaskPlanSum;
    }

    public void setNormalTaskPlanSum(String normalTaskPlanSum) {
        this.normalTaskPlanSum = normalTaskPlanSum;
    }

    public String getSpecialTaskPlanSum() {
        return specialTaskPlanSum;
    }

    public void setSpecialTaskPlanSum(String specialTaskPlanSum) {
        this.specialTaskPlanSum = specialTaskPlanSum;
    }

    public String getIllegalRegisterSum() {
        return illegalRegisterSum;
    }

    public void setIllegalRegisterSum(String illegalRegisterSum) {
        this.illegalRegisterSum = illegalRegisterSum;
    }

    public String getRegisterDataSum() {
        return registerDataSum;
    }

    public void setRegisterDataSum(String registerDataSum) {
        this.registerDataSum = registerDataSum;
    }

    public String getCommiteeRecordSum() {
        return commiteeRecordSum;
    }

    public void setCommiteeRecordSum(String commiteeRecordSum) {
        this.commiteeRecordSum = commiteeRecordSum;
    }

    public String getClientID() {
        return clientID;
    }

    public void setClientID(String clientID) {
        this.clientID = clientID;
    }

    public String getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(String signStatus) {
        this.signStatus = signStatus;
    }

    public void setOwUserType_Str(String owUserType_Str){
        this.owUserType_Str = owUserType_Str;
    }
    public String getSex_Str(){
        sex_Str = Sex.explain(Integer.parseInt(sex),"");
        return sex_Str;
    }
    public void setSex_Str(String sex_Str){
        this.sex_Str = sex_Str;
    }
    public String getDeleteflag_Str(){
        deleteflag_Str = DeleteFlag.explain(Integer.parseInt(deleteflag),"");
        return deleteflag_Str;
    }
    public void setDeleteflag_Str(String deleteflag_Str){
        this.deleteflag_Str = deleteflag_Str;
    }

    public String getId(){
        return this.id;
    }
    public void setId(String id){
        this.id=id;
    }
    public String getA2postName(){
        return this.a2postName;
    }
    public void setA2postName(String a2postName){
        this.a2postName=a2postName;
    }
    public String getRolenames(){
        return this.rolenames;
    }
    public void setRolenames(String rolenames){
        this.rolenames=rolenames;
    }
    public String getCompanyId(){
        return this.companyId;
    }
    public void setCompanyId(String companyId){
        this.companyId=companyId;
    }
    public String getOwUserType(){
        return this.owUserType;
    }
    public void setOwUserType(String owUserType){
        this.owUserType=owUserType;
    }
    public String getLoginname(){
        return this.loginname;
    }
    public void setLoginname(String loginname){
        this.loginname=loginname;
    }
    public String getPassword(){
        return this.password;
    }
    public void setPassword(String password){
        this.password=password;
    }
    public String getAppLoginname(){
        return this.appLoginname;
    }
    public void setAppLoginname(String appLoginname){
        this.appLoginname=appLoginname;
    }
    public String getAppPassword(){
        return this.appPassword;
    }
    public void setAppPassword(String appPassword){
        this.appPassword=appPassword;
    }
    public String getA2postId(){
        return this.a2postId;
    }
    public void setA2postId(String a2postId){
        this.a2postId=a2postId;
    }
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name=name;
    }
    public String getJobNumber(){
        return this.jobNumber;
    }
    public void setJobNumber(String jobNumber){
        this.jobNumber=jobNumber;
    }
    public String getEmail(){
        return this.email;
    }
    public void setEmail(String email){
        this.email=email;
    }
    public String getIdcardno(){
        return this.idcardno;
    }
    public void setIdcardno(String idcardno){
        this.idcardno=idcardno;
    }
    public String getSex(){
        return this.sex;
    }
    public void setSex(String sex){
        this.sex=sex;
    }
    public String getTelephone(){
        return this.telephone;
    }
    public void setTelephone(String telephone){
        this.telephone=telephone;
    }
    public String getPhone(){
        return this.phone;
    }
    public void setPhone(String phone){
        this.phone=phone;
    }
    public String getLogintimelast(){
        return this.logintimelast;
    }
    public void setLogintimelast(String logintimelast){
        this.logintimelast=logintimelast;
    }
    public String getLogintimes(){
        return this.logintimes;
    }
    public void setLogintimes(String logintimes){
        this.logintimes=logintimes;
    }
    public String getCreatedate(){
        return this.createdate;
    }
    public void setCreatedate(String createdate){
        this.createdate=createdate;
    }
    public String getCreateman(){
        return this.createman;
    }
    public void setCreateman(String createman){
        this.createman=createman;
    }
    public String getModifydate(){
        return this.modifydate;
    }
    public void setModifydate(String modifydate){
        this.modifydate=modifydate;
    }
    public String getDeleteflag(){
        return this.deleteflag;
    }
    public void setDeleteflag(String deleteflag){
        this.deleteflag=deleteflag;
    }
    public String getModifyman(){
        return this.modifyman;
    }
    public void setModifyman(String modifyman){
        this.modifyman=modifyman;
    }
    public String getCreatemanId(){
        return this.createmanId;
    }
    public void setCreatemanId(String createmanId){
        this.createmanId=createmanId;
    }
    public String getModifymanId(){
        return this.modifymanId;
    }
    public void setModifymanId(String modifymanId){
        this.modifymanId=modifymanId;
    }

    public String getTmptAuthDeptId() {
        return tmptAuthDeptId;
    }

    public void setTmptAuthDeptId(String tmptAuthDeptId) {
        this.tmptAuthDeptId = tmptAuthDeptId;
    }

    public String getLogintimelast_Start(){
        return logintimelast_Start;
    }
    public void setLogintimelast_Start(String logintimelast_Start){
        this.logintimelast_Start = logintimelast_Start;
    }
    public String getLogintimelast_End(){
        return logintimelast_End;
    }
    public void setLogintimelast_End(String logintimelast_End){
        this.logintimelast_End = logintimelast_End;
    }
    public String getCreatedate_Start(){
        return createdate_Start;
    }
    public void setCreatedate_Start(String createdate_Start){
        this.createdate_Start = createdate_Start;
    }
    public String getCreatedate_End(){
        return createdate_End;
    }
    public void setCreatedate_End(String createdate_End){
        this.createdate_End = createdate_End;
    }
    public String getModifydate_Start(){
        return modifydate_Start;
    }
    public void setModifydate_Start(String modifydate_Start){
        this.modifydate_Start = modifydate_Start;
    }
    public String getModifydate_End(){
        return modifydate_End;
    }
    public void setModifydate_End(String modifydate_End){
        this.modifydate_End = modifydate_End;
    }


}
